from flask import Flask, Blueprint

from applications.view.traceability.production import bp as production_bp


# 创建sys
traceability_bp = Blueprint('traceability', __name__, url_prefix='/traceability')


def register_traceability_bps(app: Flask):
    # 在admin_bp下注册子蓝图
    traceability_bp.register_blueprint(production_bp)

    app.register_blueprint(traceability_bp)
